package com.ruoyi.qbms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库选择题问题对象 qbms_question_choice_issue
 * 
 * @author zouhuu
 * @date 2022-10-17
 */
public class QbmsQuestionChoiceIssue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Long questionId;

    /** 问题 */
    @Excel(name = "问题")
    private String issue;

    /** 问题图片 */
    @Excel(name = "问题图片")
    private String issueImg;

    /** 问题选项 */
    @Excel(name = "问题选项")
    private String issueOptions;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 答案解释 */
    @Excel(name = "答案解释")
    private String answerExplain;

    /** 答案图片 */
    @Excel(name = "答案图片")
    private String answerImg;

    /** 题目等级(0-5) */
    @Excel(name = "题目等级(0-5)")
    private Integer issueGrade;

    /** 问题排序 */
    @Excel(name = "问题排序")
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setIssue(String issue) 
    {
        this.issue = issue;
    }

    public String getIssue() 
    {
        return issue;
    }
    public void setIssueImg(String issueImg) 
    {
        this.issueImg = issueImg;
    }

    public String getIssueImg() 
    {
        return issueImg;
    }
    public void setIssueOptions(String issueOptions) 
    {
        this.issueOptions = issueOptions;
    }

    public String getIssueOptions() 
    {
        return issueOptions;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setAnswerExplain(String answerExplain) 
    {
        this.answerExplain = answerExplain;
    }

    public String getAnswerExplain() 
    {
        return answerExplain;
    }
    public void setAnswerImg(String answerImg) 
    {
        this.answerImg = answerImg;
    }

    public String getAnswerImg() 
    {
        return answerImg;
    }
    public void setIssueGrade(Integer issueGrade) 
    {
        this.issueGrade = issueGrade;
    }

    public Integer getIssueGrade() 
    {
        return issueGrade;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("issue", getIssue())
            .append("issueImg", getIssueImg())
            .append("issueOptions", getIssueOptions())
            .append("answer", getAnswer())
            .append("answerExplain", getAnswerExplain())
            .append("answerImg", getAnswerImg())
            .append("issueGrade", getIssueGrade())
            .append("sort", getSort())
            .toString();
    }
}
